﻿namespace Infrastructure.Common.Log
{
    public interface ILog
    {
        /// <summary>
        ///     记录普通信息
        /// </summary>
        /// <param name="message"></param>
        void WriteInformation(string message);

        /// <summary>
        ///     记录警告信息
        /// </summary>
        /// <param name="message"></param>
        void WriteWarning(string message);

        /// <summary>
        ///     记录错误信息
        /// </summary>
        /// <param name="message"></param>
        void WriteError(string message);
    }
}